<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2020/4/26
 * Time: 12:13
 */

namespace app\common\library\agent\comission\impl;


use app\common\library\agent\comission\CommissionPlugin;

/**
 * 按比例分佣
 * Class RatioCommission
 * @package app\common\library\agent\comission\impl
 */
class RatioCommission extends CommissionPlugin
{


    function getCommission($set, $price)
    {
        return $set * $price;
    }
}